<?php
namespace Common\Model;
use Common\Common\Object;

/**
 * Class GoodsObject
 * @package Common\Model
 *
 * @property int $ID
 * @property int $GoodsID
 * @property int $Number
 */
class ShoppingcartObject extends Object{
    protected  function _getGoods(){
        $goods = D('Goods');
        return $goods->fetch($this->data['goodsid']);
    }
}